package office.dao.hr;

import platform.common.dao.impl.BaseDomainProviderImpl;

public class OfficesuppliesEntryDP extends BaseDomainProviderImpl{

	public String getFindAll(){
		return "select new office.action.hr.wrapper.OfficesuppliesEntryWrapper " +
				"(a.name,b.entryUser,b.id,b.officesuppliesId,b.entryNum,b.entryDate,b.descriprtion,b.state,c.name,c.sort,c.uint) " +
				"from User a,"+this.getDomainClassName()+" b,Officesupplies c " +
				"where a.id=b.entryUser and b.officesuppliesId=c.id and (b.entryUser=:userId or b.checkUser=:userId)";
	}
}
